import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 注册title组件
import TitleView from './components/Title.vue'
import scroll from 'vue-seamless-scroll'
// 引入element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import dataV from '@jiaminghi/data-view'
const echarts =require('echarts')

Vue.prototype.$echarts = echarts
Vue.use(scroll)

Vue.use(dataV)
Vue.use(ElementUI);
Vue.config.productionTip = false
Vue.component('TitleView', TitleView)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
